﻿using ERPPublic;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProcurementManagement.Domain.ProcurementDomain
{
    /// <summary>
    /// 供应商新增询价关联表
    /// </summary>
    [SugarTable("VendorEnquiry")]
    public class VendorEnquiry : Audit
    {
        /// <summary>
        /// 供应商新增询价id
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)] // 主键和自增
        public int VendorEnquiryId { get; set; }
        /// <summary>
        /// 供应商id
        /// </summary>
        public int? VendorId { get; set; }
        /// <summary>
        /// 采购询价id
        /// </summary>
        public int? ProcureEnquiryId { get; set; }
        /// <summary>
        /// 返工数量
        /// </summary>
        public int? IReworkNum { get; set; }
        /// <summary>
        /// 报废数量
        /// </summary>
        public int? IScrapNum { get; set; }
        /// <summary>
        /// 合格数量
        /// </summary>
        public int? IQualifiedNum { get; set; }
        /// <summary>
        /// 合格率
        /// </summary>
        public int? IRate { get; set; }
        /// <summary>
        /// 质检结果
        /// </summary>
        public int? IResults { get; set; }
    }
}
